var mongoose=require('./db.js');


var childcommentSchema=mongoose.Schema({
    commentId:String,//评论用户id
    commmentArticleId:String,//评论文章的ID
    commentAuthorId:String,//评论作者的Id
    commentLikeNum:Number,//评论喜欢数
    commentContent:String,//评论内容
    childCommentId:String,//子评论的ID
    commentCtime:String,//评论创建时间
    likes:Number,//点赞数
})



module.exports=mongoose.model('Childcomment',childcommentSchema,'childcomment');